package cfca.seal.front.service.ws.bean;

import cfca.seal.util.StringUtil;

public class SealPdfFunctionBean
{
  private String type;
  private String pdfURL;
  private String sealPerson;
  private String sealLocation;
  private String sealReason;
  private String blankFieldName;
  private String page;
  private String lx;
  private String ly;
  private String keyword;
  private String locationStyle;
  private String offsetX;
  private String offsetY;

  public String getType()
  {
    return this.type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getPdfURL() {
    return this.pdfURL;
  }

  public void setPdfURL(String pdfURL) {
    this.pdfURL = pdfURL;
  }

  public String getSealPerson() {
    return this.sealPerson;
  }

  public void setSealPerson(String sealPerson) {
    this.sealPerson = sealPerson;
  }

  public String getSealLocation() {
    return this.sealLocation;
  }

  public void setSealLocation(String sealLocation) {
    this.sealLocation = sealLocation;
  }

  public String getSealReason() {
    return this.sealReason;
  }

  public void setSealReason(String sealReason) {
    this.sealReason = sealReason;
  }

  public String getBlankFieldName() {
    return this.blankFieldName;
  }

  public void setBlankFieldName(String blankFieldName) {
    this.blankFieldName = blankFieldName;
  }

  public String getPage() {
    return this.page;
  }

  public void setPage(String page) {
    this.page = page;
  }

  public String getLx() {
    return this.lx;
  }

  public void setLx(String lx) {
    this.lx = lx;
  }

  public String getLy() {
    return this.ly;
  }

  public void setLy(String ly) {
    this.ly = ly;
  }

  public String getKeyword() {
    return this.keyword;
  }

  public void setKeyword(String keyword) {
    this.keyword = keyword;
  }

  public String getLocationStyle() {
    return this.locationStyle;
  }

  public void setLocationStyle(String locationStyle) {
    this.locationStyle = locationStyle;
  }

  public String getOffsetX() {
    return this.offsetX;
  }

  public void setOffsetX(String offsetX) {
    this.offsetX = offsetX;
  }

  public String getOffsetY() {
    return this.offsetY;
  }

  public void setOffsetY(String offsetY) {
    this.offsetY = offsetY;
  }

  public SealPdfFunctionBean(String xml) {
    this.type = StringUtil.getNodeText(xml, "Type");
    this.sealPerson = StringUtil.getNodeText(xml, "SealPerson");
    this.sealLocation = StringUtil.getNodeText(xml, "SealLocation");
    this.sealReason = StringUtil.getNodeText(xml, "SealResson");
    this.blankFieldName = StringUtil.getNodeText(xml, "BlankFieldName");
    this.page = StringUtil.getNodeText(xml, "Page");
    this.lx = StringUtil.getNodeText(xml, "LX");
    this.ly = StringUtil.getNodeText(xml, "LY");
    this.keyword = StringUtil.getNodeText(xml, "Keyword");
    this.locationStyle = StringUtil.getNodeText(xml, "LocationStyle");
  }
}